package com.shj.em.biz.hr.entity;

import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.IdType;
import com.shj.em.base.entity.BaseEntity;



import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 部门信息
 * </p>
 *
 * @author Shen Huang Jian
 * @since 2018-07-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_dept")
public class Dept extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 部门编号
     */
//    private String deptCd;

    /**
     * 上级部门ID，一级部门为空
     */
    private Long parentId;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 排序
     */
    private Integer orderNum;


    /**
     * 工时类型
     */
    private String effortType;

    /**
     * 工时权重
     */
    private String effortWeight;

    @TableField(exist = false)
    private String weightValue;
}
